<template>
	<div class="wrapper">
		<div class="rainbow">
			<div class="arc red"></div>
			<div class="arc orange"></div>
			<div class="arc yellow"></div>
			<div class="arc green"></div>
			<div class="arc blue"></div>
			<div class="arc violet"></div>
			<div class="arc purple"></div>
		</div>
	</div>
</template>

<script>
	export default {
		name: 'loading7',
		data() {
			return {

			};
		}
	}
</script>

<style scoped="true">
	.wrapper {
  border-bottom: solid 1px #757575;
  height: 100px;
  left: 50%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
}
.wrapper .rainbow {
  animation: spin 2s ease-in-out infinite;
  height: 200px;
  margin: 0 auto;
  position: relative;
  width: 200px;
}
.wrapper .rainbow:after {
  background-color: #fff;
  bottom: 100px;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.wrapper .rainbow .arc {
  border: solid 8px;
  border-radius: 50%;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.wrapper .rainbow .arc.red {
  border-color: red;
}
.wrapper .rainbow .arc.orange {
  border-color: orange;
  margin: 8px;
}
.wrapper .rainbow .arc.yellow {
  border-color: yellow;
  margin: 16px;
}
.wrapper .rainbow .arc.green {
  border-color: yellowgreen;
  margin: 24px;
}
.wrapper .rainbow .arc.blue {
  border-color: skyblue;
  margin: 32px;
}
.wrapper .rainbow .arc.violet {
  border-color: violet;
  margin: 40px;
}
.wrapper .rainbow .arc.purple {
  border-color: mediumpurple;
  margin: 48px;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

</style>
